package com.zhanwp.module_home.entity


data class Articles(
    var curPage:Int,
    val offset:Int,
    val over:Boolean,
    val pageCount:Int,
    val size:Int,
    val total:Int,
    val datas: List<Article>
)


data class Article(
    val apkLink: String,
    val audit: Int, // 1
    val author: String, // Android群英传
    val canEdit: Boolean, // false
    val chapterId: Int, // 413
    val chapterName: String, // Android群英传
    val collect: Boolean, // false
    val courseId: Int, // 13
    val desc: String,
    val descMd: String,
    val envelopePic: String,
    val fresh: Boolean, // false
    val host: String,
    val id: Int, // 19299
    val link: String, // https://mp.weixin.qq.com/s/ITwMel34jWHc3euMjSpvkQ
    val niceDate: String, // 2021-08-09 00:00
    val niceShareDate: String, // 2天前
    val origin: String,
    val prefix: String,
    val projectLink: String,
    val publishTime: Long, // 1628438400000
    val realSuperChapterId: Int, // 407
    val selfVisible: Int, // 0
    val shareDate: Long, // 1628520832000
    val shareUser: String,
    val superChapterId: Int, // 408
    val superChapterName: String, // 公众号
    val tags: List<Tag>,
    val title: String, // flutter与compose的爱恨情仇
    val type: Int, // 0
    val userId: Int, // -1
    val visible: Int, // 1
    val zan: Int // 0
)

/**
 *
 */
data class Tag(
    val name:String,
    val url:String,
)